package org.egedede.processmanager.logs;


public class ProcessLogEvent{

	public static final int NEW = 1;
	public static final int CLEAR = 2;

	private final ProcessLog log;
	private final LogEntry entry;
	private final int type;
	
	public ProcessLogEvent(int type, ProcessLog log, LogEntry entry){
		this.log = log;
		this.entry = entry;
		this.type = type;
	}
	
	public int getType(){
		return type;
	}
	
	public ProcessLog getLog(){
		return log;
	}
	
	public LogEntry getEntry(){
		return entry;
	}
}